<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../jquery-3.1.1.js"></script>
</head>

<body>

</body>
<script>
    $(function () {

        let obj = {
            name:'迪迦',
            money:'12k',
            age:'24',
            department:'码农部',
            id:'10086'
        }
        // obj.prototype= {
        //     id : '10086'
        // }


        // let Gadget = {}
        // Gadget.prototype = {
        //     price: 100,
        //     rating: 3,
        //     getInfo: function () {
        //         return 'Rating: ' + this.rating + ', price: ' + this.price;
        //     }
        // }
           
        console.log(JSON.stringify(obj))
    })
</script>

</html>